//
//  RateItem.swift
//  worldexchange
//
//  Created by xionghao on 2019/1/9.
//  Copyright © 2019 xionghao. All rights reserved.
//

import UIKit
import HandyJSON

class RateItem: HandyJSON {
    var id:Int = 0
    var buying:String = ""
    var selling:String = ""
    var modified:String = ""
    var contact_id:Int = 0
    var money_id:Int = 0
    var link:String = "100"
    var money:MoneyItem = MoneyItem()
    
    required init() {
        
    }
    func mapping(mapper: HelpingMapper) {
        mapper <<<
            self.buying <-- "title"
        mapper <<<
            self.selling <-- "ex_title"
       
    }
}
